<template>
  <div class>
    <div class="item">
      <img :src="data.pic" alt />
      <div class="title">{{data.title}}</div>
      <div class="msg">{{data.slogo}}</div>
    </div>
  </div>
</template>

<script>
export default {
  // name:"top250"
  props: {
    data: {
      type: Object
    }
  }
};
</script>

<style scoped>
.item {
  width: 200px;
}
.item img {
  width: 200px;
  height: 280px;
}
.title {
  font-size: 20px;
}
.msg {
  color: #888;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
</style>
